package com.example.bishe.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.bishe.entity.Record;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LDH
 * @since 2022/11/30
 */
@Mapper
public interface RecordMapper extends BaseMapper<Record> {

    IPage<Record> getPage(IPage<Record> page,
                                 @Param("title") String title,
                                 @Param("userId") Long userId,
                                 @Param("type") Integer type,
                                 @Param("show") Integer show
    );

}
